package qq_clinet.src.com.hzk.qquser_service;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @auoter:jackh
 */

public class manageclinetconnectserverThread {
    private static ConcurrentHashMap<String,clinetconnectserverThread> hm=new ConcurrentHashMap<>();
    public static void add (String userid,clinetconnectserverThread clinetconnectserverThread){
        hm.put(userid,clinetconnectserverThread);
    }
    public static clinetconnectserverThread  getThread(String userid){
        return hm.get(userid);
    }
    public static void delete(String userid){
        hm.remove(userid);
    }
}
